<extend name="./public/frame.html"/>
<block name="content">
    <table class="layui-table"
           lay-data="{width:'auto', height:'auto', url:'{:url('System/look')}', limit: 10, id:'test'}"
           lay-filter="test">
        <thead>
        <tr>
            <th lay-data="{checkbox:true, fixed: true}"></th>
            <th lay-data="{field:'key', width:170, fixed: true, sort: true}">距离(米)</th>
            <th lay-data="{field:'value', width:120, sort: true, edit: 'text'}">价格(元)</th>
            <th lay-data="{field:'comment', width:120, sort: true, edit: 'text'}">备注</th>
        </tr>
        </thead>
    </table>
    <script>
        layui.use('table', function () {
            var table = layui.table;


        });
    </script>
</block>
